/*
 * sysmo 客户端异常警告转发到的联系人类
 * Copyright (C) 2009  YuLicheng
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.sysmo.server.node.item;

/**
 * 
 * 此类中封装了警告信息需要被转发到的联系人的信息，包括电子邮件地址等。若需要添加
 * 联系方式，可从此类扩展。
 * <br />
 *
 * 当前版本联系人信息只包括邮件地址。
 *
 * @author YuLicheng
 */
public class WarningContect {

    /**
     * 设置联系人电子邮件地址。
     *
     * @param email 电子邮件地址。
     */
    public void setEmail(String email) {

    }

    /**
     * 返回联系人电子邮件地址。
     *
     * @return 电子邮件地址。
     */
    public String getEmail() {
        return null;
    }

    /**
     * 想此联系人所有联系方式发送警告信息。
     *
     * @param warning 警告信息。
     */
    public void SendWarning(Warning warning) {

    }
}
